home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / windownt / makfon.zip / CODESTUB.C next >
C/C++ Source or Header  |  1992-10-14  |  1KB  |  40 lines

  1. /**************************************************************************\
  2. *
  3. *
  4. *  PURPOSE:     To provide the required (simple) entry point for a resource-
  5. *               only DLL.
  6. *
  7. *  FUNCTIONS:   DLLEntryPoint() - DLL entry point
  8. *
  9. *                           Microsoft Developer Support
  10. *                     Copyright (c) 1992 Microsoft Corporation
  11. *
  12. \**************************************************************************/
  13.  
  14. #include <windows.h>
  15.  
  16.  
  17.  
  18. /**************************************************************************\
  19. *
  20. *  FUNCTION:    DLLEntryPoint
  21. *
  22. *  INPUTS:      hDLL       - handle of DLL
  23. *               dwReason   - indicates why DLL called
  24. *               lpReserved - reserved
  25. *
  26. *  RETURNS:     TRUE (always, in this example.)
  27. *
  28. *               Note that the retuRn value is used only when
  29. *               dwReason = DLL_PROCESS_ATTACH.
  30. *
  31. *               Normally the function would return TRUE if DLL initial-
  32. *               ization succeeded, or FALSE it it failed.
  33. *
  34. \**************************************************************************/
  35.  
  36. BOOL WINAPI DLLEntryPoint (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved)
  37. {
  38.   return TRUE;
  39. }
  40.